package com.guigu.dao;

import com.github.pagehelper.Page;
import com.guigu.pojo.CheckItem;
import com.guigu.pojo.Habitus;
import com.guigu.pojo.HabitusExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HabitusMapper {
    long countByExample(HabitusExample example);

    int deleteByExample(HabitusExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Habitus record);

    int insertSelective(Habitus record);

    List<Habitus> selectByExample(HabitusExample example);

    Habitus selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Habitus record, @Param("example") HabitusExample example);

    int updateByExample(@Param("record") Habitus record, @Param("example") HabitusExample example);

    int updateByPrimaryKeySelective(Habitus record);

    int updateByPrimaryKey(Habitus record);

    Page<Habitus> selectByCondition(String queryString);
    List<Habitus> findAll();
    int deleteById(Integer id);
    Habitus selectById(Integer id);
    int update(Habitus record);

}